Foxit PDF SDK
FoxitPDFSDKPython2.PageBasicInfo类 参考

继承自 FoxitPDFSDKPython2._object .

Public 成员函数

def PageBasicInfo ()
 构造函数。

 
def PageBasicInfo (page_info)
 使用另一个页面基本信息对象的构造函数。
更多...
 
def Set (width, height, rotation)
 设置值。
更多...
 

静态 Public 属性

 height = _fsdk.PageBasicInfo_height
 页面高度(单位为1/72英寸)。

 
 rotation = _fsdk.PageBasicInfo_rotation
 页面旋转。请参考从 FoxitPDFSDKPython2.e_Rotation0 开始的值, 这应该是这些值中的一个。

 
 width = _fsdk.PageBasicInfo_width
 页面宽度(单位为1/72英寸)。

 

详细描述

此类表示页面基本信息,如页面宽度、页面高度和页面旋转。 这用作函数 FoxitPDFSDKPython2.PDFDoc.GetPageBasicInfo 的返回类型。

构造及析构函数说明

◆ PageBasicInfo()

def FoxitPDFSDKPython2.PageBasicInfo.PageBasicInfo (   page_info)

使用另一个页面基本信息对象的构造函数。

参数
[in]page_info另一个页面基本信息对象。

成员函数说明

◆ Set()

def FoxitPDFSDKPython2.PageBasicInfo.Set (   width,
  height,
  rotation 
)

设置值。

参数
[in]width页面宽度(单位为1/72英寸)。
[in]height页面高度(单位为1/72英寸)。
[in]rotation页面旋转。请参考从 FoxitPDFSDKPython2.e_Rotation0 开始的值, 这应该是这些值中的一个,除了 FoxitPDFSDKPython2.e_RotationUnknown
返回
无。